#import "AppController.h"
#import "collaboration_subsystem.h"

@implementation AppController

-(IBAction)mover:(id)sender
{
	float f = [slider floatValue];
	[text setFloatValue:f];
	
	/////////////////////////////////////
	///// ENVIAR EVENTO   ///////////////
	/////////////////////////////////////
	
	Event* ev = new Event();
	ev->member_value("type", (PortableInteger)5678);
	ev->member_value("value", (PortableFloat)f);
	
	collaboration::EVENT_HANDLER->push(ev);
	
	/////////////////////////////////////
}

@end
